import { sql2apiAction, uploadAction } from '@/api/manage'

/**
 * 账期
 * @param {*} params 
 * PARAMCODE 入参 D：日账期  M：月账期
 * @returns 
 */
// const accountDate = (params)=>sql2apiAction('402880838432242801845fa2907b001d' ,params)   // 旧
const accountDate = (params)=>sql2apiAction('0500a94978b48ed60178ca836d8d0007' ,params)     // 新

const uploadCos = (params)=>uploadAction('/sys/upload/uploadCos', params )

export {
  accountDate,
  uploadCos
}